home *** CD-ROM | disk | FTP | other *** search
- Path: mack.rt66.com!usenet
- From: glenden@rt66.com (Brian Glendenning)
- Newsgroups: comp.os.ms-windows.programmer.tools.misc,comp.lang.c++
- Subject: C++ compilers with separate template instantiation?
- Date: Wed, 06 Mar 1996 02:06:43 GMT
- Organization: Rt66.COM, Public Internet Access in New Mexico
- Message-ID: <4hirm9$4i9@mack.rt66.com>
- NNTP-Posting-Host: pme01.rt66.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- Hello:
-
- I'm an experience C++ programmer on Unix. I'm used to CFront and various
- native compilers from various vendors. All of them support separate
- template instantiation in various ways.
-
- I recently got VC++ 4.0 for my PC. To my disappointment, I discovered that
- it apparently needs the template definitions to be explicitly included
- where an instantiation is needed.
-
- Are there any PC compilers where this is not necessary? I would prefer the
- compiler figure out where to do the instantiation. I have a vague
- recollection that Borland used to instantiate into every object that needs
- a certain instantiation, and then the linker throws the excess copies away.
- Is this right?
-
- What PC compiler has the best template support in general? Thank you.
-
- Brian Glendenning, glenden@rt66.com
-
-
-